from django.shortcuts import render
from rest_framework.viewsets import ReadOnlyModelViewSet
from .serializers import *
from .models import Product
# Create your views here.
class ProductViewSet(ReadOnlyModelViewSet):
    queryset = Product.objects.all()
    serializer_class = ProductSerializer